package com.yf.dxs.wo.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yf.dxs.wo.redis.AbstractRedisMsg;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("wo_level_msg")
public class WoLevelMsgDO extends AbstractRedisMsg {

    /**
     * ID
     */
    @TableId
    private Long id;
    /**
     * 消息ID
     */
    private String msgId;
    /**
     * 等级变更原因
     */
    private String reason;
    /**
     * 等级变更时间
     */
    private Date changeTime;

    /**
     * 等级变更后的等级 ID
     */
    private Long newLevelId;
    /**
     * 等级变更前的等级 ID
     */
    private Long oldLevelId;
    /**
     * 用户ID
     */
    private Long wid;
    /**
     * ENUM:订阅状态,0-未处理,1-已处理,2-处理失败
     *
     * 枚举 {@link TODO sub_status 对应的类}
     */
    private Integer subStatus;



}
